﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020003F3 RID: 1011
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DressAvatarSkinScRsp : IMessage<DressAvatarSkinScRsp>, IMessage, IEquatable<DressAvatarSkinScRsp>, IDeepCloneable<DressAvatarSkinScRsp>, IBufferMessage
	{
		// Token: 0x17000CFC RID: 3324
		// (get) Token: 0x06002D4B RID: 11595 RVA: 0x0007CF1C File Offset: 0x0007B11C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DressAvatarSkinScRsp> Parser
		{
			get
			{
				return DressAvatarSkinScRsp._parser;
			}
		}

		// Token: 0x17000CFD RID: 3325
		// (get) Token: 0x06002D4C RID: 11596 RVA: 0x0007CF23 File Offset: 0x0007B123
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DressAvatarSkinScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000CFE RID: 3326
		// (get) Token: 0x06002D4D RID: 11597 RVA: 0x0007CF35 File Offset: 0x0007B135
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DressAvatarSkinScRsp.Descriptor;
			}
		}

		// Token: 0x06002D4E RID: 11598 RVA: 0x0007CF3C File Offset: 0x0007B13C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DressAvatarSkinScRsp()
		{
		}

		// Token: 0x06002D4F RID: 11599 RVA: 0x0007CF44 File Offset: 0x0007B144
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DressAvatarSkinScRsp(DressAvatarSkinScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002D50 RID: 11600 RVA: 0x0007CF69 File Offset: 0x0007B169
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DressAvatarSkinScRsp Clone()
		{
			return new DressAvatarSkinScRsp(this);
		}

		// Token: 0x17000CFF RID: 3327
		// (get) Token: 0x06002D51 RID: 11601 RVA: 0x0007CF71 File Offset: 0x0007B171
		// (set) Token: 0x06002D52 RID: 11602 RVA: 0x0007CF79 File Offset: 0x0007B179
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06002D53 RID: 11603 RVA: 0x0007CF82 File Offset: 0x0007B182
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DressAvatarSkinScRsp);
		}

		// Token: 0x06002D54 RID: 11604 RVA: 0x0007CF90 File Offset: 0x0007B190
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DressAvatarSkinScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002D55 RID: 11605 RVA: 0x0007CFC0 File Offset: 0x0007B1C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002D56 RID: 11606 RVA: 0x0007CFFF File Offset: 0x0007B1FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002D57 RID: 11607 RVA: 0x0007D007 File Offset: 0x0007B207
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002D58 RID: 11608 RVA: 0x0007D010 File Offset: 0x0007B210
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002D59 RID: 11609 RVA: 0x0007D044 File Offset: 0x0007B244
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002D5A RID: 11610 RVA: 0x0007D082 File Offset: 0x0007B282
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DressAvatarSkinScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002D5B RID: 11611 RVA: 0x0007D0B3 File Offset: 0x0007B2B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002D5C RID: 11612 RVA: 0x0007D0BC File Offset: 0x0007B2BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040011F2 RID: 4594
		private static readonly MessageParser<DressAvatarSkinScRsp> _parser = new MessageParser<DressAvatarSkinScRsp>(() => new DressAvatarSkinScRsp());

		// Token: 0x040011F3 RID: 4595
		private UnknownFieldSet _unknownFields;

		// Token: 0x040011F4 RID: 4596
		public const int RetcodeFieldNumber = 11;

		// Token: 0x040011F5 RID: 4597
		private uint retcode_;
	}
}
